import {useParams} from 'react-router-dom'
export default ()=>{
    const params=useParams()
    return (<>
        <div>商品详情</div>
        <div>{params.id}</div>

    </>)
}